#include "StdAfx.h"
#include "ListInfoManager.h"
ListInfoManager::ListInfoManager(void)
{
}

ListInfoManager::~ListInfoManager(void)
{
}


map<CString,User>* ListInfoManager::getClientList()
{
	static map<CString,User>* ClientList = NULL;

	if(ClientList == NULL)
	{
		ClientList = new map<CString,User>;
	}

	return ClientList;
}

RoomManager* ListInfoManager::getRoomManager()
{
	static RoomManager* m_RoomManagerList = NULL;

	if(m_RoomManagerList == NULL)
	{
		m_RoomManagerList = new RoomManager;
	}

	return m_RoomManagerList;
}